package com.ximu.prize.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ximu
 * @since 2023-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Prize对象", description="")
public class Prize implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "奖品id")
      @TableId(value = "prize_id", type = IdType.AUTO)
    private Integer prizeId;

    @ApiModelProperty(value = "奖品名称")
    private String prizeName;

    @ApiModelProperty(value = "奖品说明")
    private String prizeInfo;

    @ApiModelProperty(value = "是否归属")
    private Integer isBelong;

    @ApiModelProperty(value = "归属用户")
    private Integer userId;

    @ApiModelProperty(value = "失效时间")
    private Date failureTime;


}
